package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;
import java.util.Map;

/**
 * @author YDW
 * projectName:shop-manage
 * time:2022/5/17 20:05
 * description:
 */
public interface DtsAdminService {

    DtsAdmin findByUsername(String username);

    IPage<DtsAdmin> queryPage(Integer page, Integer limit, String sort, String order, String username);

    DtsAdmin add(DtsAdmin admin);

    DtsAdmin update(DtsAdmin admin);

    void delete(DtsAdmin admin);

    List<Map<String, Object>> findAdmin();
}
